using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Web.Mvc;

namespace WeberTimeTracker.Models
{
    public class Project
    {
        public Project()
        {
            this.Project_Contacts = new List<Project_Contacts>();
            this.Times = new List<Time>();
            this.Users_On_Projects = new List<Users_On_Projects>();
        }

        [DisplayName("Project ID")] 
        public int Project_ID { get; set; }
        [DisplayName("Client ID")] 
        public int Client_ID { get; set; }
        [DisplayName("Rate ID")] 
		public int Rate_ID { get; set; }
        [HiddenInput(DisplayValue = false)]
		public bool Active {get; set;}
        [Required]
        [DisplayName("Project Name")] 
        public string Project_Name { get; set; }
        public virtual Client Client { get; set; }
        public virtual ICollection<Project_Contacts> Project_Contacts { get; set; }
        public virtual Rate Rate { get; set; }
        public virtual ICollection<Time> Times { get; set; }
        public virtual ICollection<Users_On_Projects> Users_On_Projects { get; set; }
    }
}
